﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Web.Security;

namespace ankietyzacja
{
    public partial class MySurveys : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)

        {


            MembershipUser user = Membership.GetUser();
            String uzytkownikId = user.ProviderUserKey.ToString();

            MojeAnkietySqlDataSource.SelectParameters["UZYTKOWNIK_ID"].DefaultValue = uzytkownikId;
        }
    }
}